home *** CD-ROM | disk | FTP | other *** search
/ Champak 33 / Volume 33 - JOGO DISK .iso / Games / shoot_em_in.swf / scripts / DefineSprite_136 / frame_30 / DoAction.as
Text File  |  2007-01-15  |  497b  |  19 lines

  1. vxplayer += vx2;
  2. vzplayer += vz2;
  3. v2DPoint = WorldToScreen(vxplayer,vyplayer,vzplayer,_Focale,_scale,_xoffset,_yoffset);
  4. _parent.mcPlayer._x = v2DPoint.x;
  5. _parent.mcPlayer._y = v2DPoint.y;
  6. _parent.mcPlayer._xscale = v2DPoint.z * 2 * lplayerHeight;
  7. _parent.mcPlayer._yscale = v2DPoint.z * 2 * lplayerHeight;
  8. vnbframes--;
  9. if(0 >= vnbframes)
  10. {
  11.    _parent.mcsounds.gotoAndPlay("shoot");
  12.    _parent.mcplayer.mcanim.gotoAndStop("shoot");
  13.    gotoAndStop(37);
  14. }
  15. else
  16. {
  17.    prevFrame();
  18. }
  19.